﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_SaaS_WinForm.生产计划_派单_车间.ProductPlan
{
    public  class PlanData
    {
        public int planId { get; set; }
        /// <summary>
        /// 计划编号
        /// </summary>
        public string planCode { get; set; }
        /// <summary>
        /// 计划名称
        /// </summary>
        public string planName { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public int resource { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string productName { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string productCode { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unitName { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int planNum { get; set; }
        /// <summary>
        /// 开工时间
        /// </summary>
        public DateTime? planStart { get; set; }
        /// <summary>
        /// 完工时间
        /// </summary>
        public DateTime? planEnd { get; set; }
        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? requireDate { get; set; }
        /// <summary>
        /// 计划状态
        /// </summary>
        public int? planState { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createName { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? createDate { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int productId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? state { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool? isDel { get; set; }
        /// <summary>
        /// 销售单Id
        /// </summary>
        public int? salesOrderId { get; set; }
    }
}
